/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.view;

import com.model.Perpustakaan;
import javax.swing.*;

/**
 *
 * @author tashiba
 */
public class PanelBacaFilePublikasi extends JPanel {

    private JLabel labelPanel;
    private JTextArea area;

    public PanelBacaFilePublikasi() {
        setLayout(null);

        JLabel judul = new JLabel("Form Lihat Publikasi");
        judul.setBounds(150, 20, 150, 20);
        this.add(judul);

        labelPanel = new JLabel();
        labelPanel.setBounds(50, 70, 100, 20);
        this.add(labelPanel);

        Perpustakaan.bacaFilePublikasi();
        area = new JTextArea(Perpustakaan.bacaDaftarPublikasi());
        area.setBounds(100, 50, 200, 200);
        add(area);
        area.setVisible(true);
    }
}
